package frontend.Combine;

import java.awt.Component;

import javax.swing.JTable;
import javax.swing.table.DefaultTableCellRenderer;


	class CombineColumnRender extends DefaultTableCellRenderer {
	 
	    @Override
	    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
	        CombineTable cTable = (CombineTable) table;
	        if (cTable.combineData.combineColumns.contains(column)) {
	            hasFocus = false;
	        }
	        
	        return super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
	    }

}
